package simple08.factory;



import simple08.bag.AppleBag;
import simple08.bag.Bag;
import simple08.fruit.Apple;
import simple08.fruit.Fruit;

public class AppleFactory extends FruitFactory {
    @Override
    public Fruit getFruit() {
        return new Apple();
    }

    @Override
    public Bag getBag() {
        return new AppleBag();
    }
}
